home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 128 21 / q21.d81 / t.docs 3 < prev    next >
Text File  |  2022-08-28  |  13KB  |  259 lines

  1.  
  2.  
  3. * * * HEADER/FORMAT UTILITY * * *
  4.  
  5. It may seem superfluous to include a disk formatting utility since
  6. formatting can be done using the DOS commands.  This utility however
  7. provides a painless way to format disks in a variety of ways.  You can also
  8. change the disk name and ID characters without losing data.  You are
  9. presented a menu which offers the various options available for the disk
  10. drive you are using.  This utility won't work with RAMDOS, if you need to
  11. reformat your RAM disk, use the DOS command option.
  12.  
  13. Please note that you should insert the disk you want to use before making a
  14. selection, as some selections require to read data from the disk to work.
  15. The various options are as follows:
  16.  
  17. Change header name (all drives):
  18. Change the disk name without disturbing the disk contents.  The current disk
  19. name is displayed.  The header ID is also displayed, and the "real" ID is
  20. displayed in parenthesis (unless you are accessing a 1581 drive which
  21. doesn't use a "real" ID).  You may now enter a new name and/or ID
  22. characters.  A comma separates the name from the ID.  You have three
  23. alternatives:
  24.  
  25. Change name only:  Enter the new name and no comma.
  26. Change ID only  :  Enter a comma, then the new ID characters.
  27. Change name & ID:  Enter new name, a comma, then ID characters.
  28.  
  29. The computer will check if the name is legal (a disk name must be between 1
  30. and 16 character long, and the ID must be exactly two characters).  If
  31. something is wrong, you are prompted to re-enter the name and/or ID.
  32.  
  33. The new name and ID combination are displayed, and you are asked if it is OK
  34. to proceed.  Check that the name and ID really are OK, and press the Y key
  35. to write the new header onto the disk.
  36.  
  37. PLEASE NOTE about the difference between header ID and real ID:  When a disk
  38. is formatted two identification characters (called ID) are written to each
  39. and every disk block.  The disk drive use the ID to distinguish between the
  40. various disks.  The ID is also placed into the disk header so that you can
  41. check the ID characters used.  You can change the header ID using this
  42. utility, but the actual ID as seen by the disk drive, the ID that is written
  43. to each disk block, does not change.  It is recommended that each of your
  44. disks is assigned its own unique ID, so having another ID on your directory
  45. than your drive actually use will only complicate matters.  It is therefore
  46. good practice to leave the header ID alone.  DISKSERVANT will let you change
  47. the header ID if you want to disregard good practice or set the ID back to
  48. the proper value.  The 1581 doesn't need the ID, so you may change the ID on
  49. 1581 disks at will.
  50.  
  51.  
  52. PLEASE NOTE about the following selections:  When asked for a disk name and
  53. ID you must enter both, and DISKSERVANT will check if the name is legal (a
  54. disk name must be between 1 and 16 character long, and the ID must be
  55. exactly two characters).  You're asked if it is OK to proceed.  Check that
  56. the name and ID really are OK (and that you are about to format the right
  57. disk!), and press the Y key to initiate the format process.
  58.  
  59. Format single sided (1541 & 1571):
  60. Formats the front side of a disk.  On the 1571, this results in a single
  61. sided 170K disk which is compatible with 1541 disk drives.
  62.  
  63. Format whole disk (1571 & 1581):
  64. Formats both sides of a disk.  On the 1581, the whole disk is formatted, not
  65. just the current selected partition.
  66.  
  67. Format back side (1571):
  68. The 1571 can use the back side of a disk as a totally separate single sided
  69. disk, without flipping the disk over.  The front side of the disk should be
  70. formatted as a single sided disk (or not be formatted at all).  This has
  71. little but novelty value, as the back side formatted this way can't be read
  72. by a 1541 disk drive by flipping the disk over.  To create a double sided
  73. disk readable on a 1541, format the disk single sided, flip it over, and
  74. format the back side likewise using the "format single sided" option
  75. discussed above.
  76.  
  77. I can imagine two reasons for using this format:  1) The data can be hidden
  78. from prying eyes.  2) If you need to store many small files on the disk you
  79. may reach the maximum 144 files.  Formatting the back side will let you
  80. store another 144 files on the disk.  To access the back side in your own
  81. programs you must use these two commands: 'u0>m0' then 'u0>h1'.  To get
  82. back, use 'u0>m1'.  In BASIC this would look like:
  83.  
  84. To access the back side:    To get back:
  85. 10 open 1,8,15              10 open 1,8,15
  86. 20 print#1,"u0>m1"          20 print#1,"u0>m1"
  87. 30 print#1,"u0>h1"          30 close 1
  88. 40 close 1
  89.                        Alternative format:
  90.                        10 open 1,8,15,"u0>m1":close1
  91.  
  92. PLEASE NOTE:  When the back side of the disk has been formatted, the disk
  93. drive is reset to its normal condition.  To access the back side, you must
  94. select the back side manually.
  95.  
  96. Convert to double sided (1571):
  97. Most software is supplied on single sided disks to accommodate users having
  98. access to 1541 disk drives only.  You may want to utilize the software using
  99. the increased storage space available on a double sided disk.  The best way
  100. is always to file copy all the files to a separate double sided disk.  This
  101. is not always possible however.  The disk might contain data which is not
  102. transferable by a file copier.  In such situations this utility may come in
  103. handy.  It will convert a single sided disk to double sided without
  104. disturbing the data on the front side.
  105.  
  106. WARNING!  This operation should never be performed on an original disk
  107. unless you are absolutely sure about what you do.  Use the Disk Copier to
  108. make a backup, and try to convert the backup, NOT the original.  Make sure
  109. that nothing important is stored on the back side of the disk.  Flip the
  110. disk over and try to read the disk directory before attempting the
  111. conversion.
  112.  
  113. Some problems may arise when trying to convert a disk:
  114.  
  115. 1) The disk is already double sided.  You're informed about this, and the
  116. conversion is aborted.
  117. 2) The disk is not a standard formatted 1541 disk.  DISKSERVANT will inform
  118. you about this and you'll once again be asked if it's OK to proceed.  This
  119. condition may be caused by a number of things.  DISKSERVANT detects this by
  120. checking the dual sided flag (a byte in the header which tells if the disk
  121. is single or double sided) and checking the area where the BAM for the back
  122. side of the disk is to be stored (a part of the back side BAM is stored near
  123. the end of the front side header block).  Both the double sided flag and the
  124. back side BAM area should all contain zeros.  Any nonzero value is detected
  125. by DISKSERVANT, and great caution must be taken.  Some software actually
  126. stores data in these areas, or the BAM area might contain data which is
  127. necessary for the software to boot.  Overwriting such information may render
  128. the software unusable.  On the other hand, overwriting the BAM area might be
  129. quite harmless.  For example, some hackers exchange secret messages using
  130. this area.  There are also a number of reasons why plain garbage might be
  131. present in the BAM area.
  132. 3) The software might not be usable, even if no vital data is overwritten.
  133. The software may have been written exclusively for use on single sided disk
  134. for some reason or another.  The software might refuse to load, hang up, act
  135. strangely, or work perfectly but be unable to exploit the extra disk space.
  136. I can not offer any further advice on this, other that you go back and use
  137. your original disk.  Please note however, that the conversion might not be
  138. the reason why the software won't work.  If the original disk was copy
  139. protected, it won't be able to run from the copy disk in any case.
  140.  
  141. Fix double sided flag (1571):
  142. This utility will flip the double sided flag on a disk.  If the flag was
  143. cleared (rendering the disk single sided) it is set, and if it is set it is
  144. cleared.  You're asked if it is OK to proceed.  Check that you are indeed
  145. trying to convert the right disk.
  146.  
  147. You may want to use this utility if you have inadvertently validated a
  148. double sided disk while the disk drive was in single sided mode.  A bug in
  149. the old 1571 ROM will render the disk single sided, while important data
  150. might be stored on the back side of the disk.  This condition is easily
  151. detect